package com.mtl.discuss.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * 评论实体类
 *
 * @author qms
 * @since 2019-08-05
 */
@Data
@Table(name="mtl_discuss")
@ApiModel(value = "Discuss对象", description = "评论")

public class Discuss implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论编号
     */
    @ApiModelProperty(value = "评论编号")
    @Id

  private Integer disId;
    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
  
  private String discuss;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
  
  private Integer userId;
   /* *//**
     * 用户名
     *//*
    @ApiModelProperty(value = "用户名")

    private String userName;*/
    /**
     * 文章id
     */
    @ApiModelProperty(value = "文章id")
  
  private Integer artId;
    /**
     * 文章标题
     */
   /* @ApiModelProperty(value = "文章标题")

    private String title;*/
    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")

    private LocalDateTime data;


}
